/**
 * Project Name:hyh-web
 * File Name:SpringHandlerInterceptor.java
 * Package Name:com.hyh.interceptor
 * Date:2018年8月31日下午2:23:11
 *
*/

package com.hyh.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.Ordered;
import org.springframework.stereotype.Component;

/**
 * ClassName:SpringHandlerInterceptor
 * Reason:	 spring HandlerInterceptor扩展 自定义注解，处理Spring HandlerInterceptor，执行顺序按order 升序排序
 * Date:     2018年8月31日 下午2:23:11
 * @author   sdcuike
 * @version  
 * @see 	 
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface SpringHandlerInterceptor {
	
	String name() default "";
	
    String[] includePatterns() default {};
 
    String[] excludePatterns() default {};
 
    int order() default Ordered.LOWEST_PRECEDENCE;
	
}
